﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace MineMES.Domain.Entity
{
    [Table("Accounts")]
    public partial class Account : BaseEntity
    {
        public Account()
        {
            this.AccountCode = string.Empty;
            this.Password = string.Empty;
            this.AccountName = string.Empty;
            this.AccountNumber = string.Empty;
            this.AccountSex = string.Empty;
            this.AccountRoleId = string.Empty;
        }

        /// <summary>
        /// 用户编码
        /// </summary>
        public string AccountCode { get; set; }

        /// <summary>
        /// 用户编码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>
        public string AccountName { get; set; }

        /// <summary>
        /// 用户电话
        /// </summary>
        public string AccountNumber { get; set; }

        /// <summary>
        /// 用户性别
        /// </summary>
        public string AccountSex { get; set; }

        /// <summary>
        /// 用户角色
        /// </summary>
        public string AccountRoleId { get; set; }
        
    }
}
